<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
        <%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<s:actionerror />
<s:set name="uuid" value="#session.uuid"/>
<s:set name="loginId" value="#session.logined"/>
<s:set name="emailId" value="#session.emailId"/>

				<s:if test="%{#loginId=='true'}">
<s:form action="updateProfile" method="post">

<s:textfield name="basicProfile.firstname" label="First Name" />

<s:hidden name="basicProfile.uuid" />
<s:hidden name="basicAddress.uuid" />
<s:hidden name="basicProfile.emailId" />


<s:textfield name="basicProfile.lastname" label="Last Name" />

<s:textfield name="basicProfileAv.aboutus" label="About us" />

<s:textfield name="basicAddress.currentaddress" label="Current Address" />

<s:textfield name="basicAddress.permanentaddress" label="Permanent Address" />

<s:textfield name="basicAddress.mobile" label="Mobile" />

<s:radio name="basicProfile.gender" label="Gender" list="{'Male','Female'}" />

<s:textfield name="basicProfile.companyname" label="Companyname" />

<s:textfield name="basicProfileAv.laguage" label="Language"/>

<s:submit value="saveProfile" align="center" />

</s:form>
</s:if>
<s:else>
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=index">
</s:else>
</body>
</html>